/*
 * @Author: Penk
 * @LastEditors: Penk
 * @LastEditTime: 2022-12-23 12:08:22
 * @FilePath: \penk-ui\src\utils\add.ts
 * @email: 492934056@qq.com
 */

export function add(...args: number[]) {
  return args.reduce((a, b) => a + b, 0);
}